﻿using Avalon.Core.MVC;
using System.Data.Entity;
using System.Web.Mvc;

namespace Avalon.Core
{
    public static class AvalonInitializer
    {
        public static void Initialize()
        {
            ControllerBuilder.Current.SetControllerFactory(new AvalonControllerFactory());
            ViewEngines.Engines.Clear();
            ViewEngines.Engines.Add(new AvalonViewFactory());
        }
    }
}
